var builder = WebApplication.CreateBuilder(args);

builder.Configuration.AddAgileConfig().AddEnvironmentVariables("GATEWAY_");
builder.Services.AddReverseProxy().LoadFromConfig(builder.Configuration);

var app = builder.Build();

app.MapReverseProxy();

app.Run();
